package es.ugr.beequizz.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;

public abstract class GenericDAO {

	@PersistenceContext
	protected EntityManager em;
	
	@Autowired
	protected NamedParameterJdbcTemplate namedTemplate;
	
	@Autowired
	protected JdbcTemplate template;
	
}
